package data;

import java.io.*;
import java.util.Date;

import android.graphics.Rect;


public class ParkingSpot {
	public Coordinate parkingCordinate_A;
	public Coordinate parkingCordinate_B;
	public int spotId;
	//public PhisycalPosision physPosition;
	public String timeToAvailable;
	public int lastEventID;
	public int accuracyLevel;
	public int cellID;
	public int gridID;  //ENUM GRID
	public Rect parkingRect;
	public int parkingStatus;
	public String street;
	public String side;
	public int ParkingType;
	
	/*
	 *   constructor for editMap 
	 */
	public ParkingSpot(){ 
		parkingRect=new Rect();
	}
	/*
	 *   constructor for mapLocationOverlay 
	 */
	public ParkingSpot(Coordinate a,Coordinate b){ 
		this.parkingCordinate_A= new Coordinate(a.longitude,a.latitude);
		this.parkingCordinate_B= new Coordinate(b.longitude,b.latitude);
	}
	
		
	
	void print(){
		System.out.println("parking spot: " +this.parkingCordinate_A.latitude +","+this.parkingCordinate_A.longitude +" cellId: " + this.cellID);
	}
	
	
	

}
